package com.glodon.paas.document.dao.mapper;

import org.apache.ibatis.annotations.Param;

import com.glodon.paas.document.dao.domain.InvitationEntity;

public interface InvitationMapper {

    int insert(InvitationEntity record);

    InvitationEntity getInvitation(@Param("account")String account, @Param("token") String invitaionToken);
    int updateInvitationStatus(@Param("account")String account, @Param("token") String invitaionToken);
    int  setInvitaionInvalid(@Param("id")String id);
}
